//
//  IGameComponent.h
//  Components
//
//  Created by Jeppe Nielsen on 3/6/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#pragma once//;
#include <vector>

namespace Typhoon {
    class IGameComponent {
	public:
		void AddData(int id, void* data);
		void* GetData(int id);

    protected:
        IGameComponent();
        ~IGameComponent();
        
        static int idCounter;

	private:
		typedef std::vector<void*> Datas;
		Datas datas;
    };
}